package com.ruoyi.counter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工具(设备）对象 tools
 *
 * @author xll
 * @date 2021-07-26
 */
public class Tools extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long toolid;

    /** 工具名称 */
    @Excel(name = "工具名称")
    private String name;

    /** 工具状态 */
    @Excel(name = "工具状态")
    private String status;

    /** 所属格子  */
    @Excel(name = "所属格子 ")
    private String idx;

    /** Fid标签 */
    @Excel(name = "Fid标签")
    private String fid;

    /** 工具类型 */
    @Excel(name = "工具类型")
    private String type;


    /** 部门ID */
    private Long deptId;

    /** 是否为报废状态 */
    @Excel(name = "是否为报废状态")
    private Long statusScrap;

    public Long getStatusScrap() {
        return statusScrap;
    }

    public void setStatusScrap(Long statusScrap) {
        this.statusScrap = statusScrap;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    private Long userid;


    public Long getDeptId()
    {
        return deptId;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }


    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

    /** 工具类型 */
    private String typeid;
    /** 领用人Id */
    @Excel(name = "领用人Id")
    private String applyid;

    /** 设备名称序号 */
    @Excel(name = "设备名称序号")
    private Long no;

    /** 领用人 */
    @Excel(name = "领用人")
    private String applyname;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private String isouttm;

    /** 操作时间 */
    @Excel(name = "操作时间")
    private String optime;

    /** 组织ID */
    @Excel(name = "组织ID")
    private String organid;

    /** 副柜ID */
    @Excel(name = "副柜ID")
    private Long countersubid;


    public void setToosstatus(String toosstatus) {
        this.toosstatus = toosstatus;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getToosstatus() {
        return toosstatus;
    }

    public String getRemarks() {
        return remarks;
    }

    private  String toosstatus;
    private  String remarks;

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getTradeType() {
        return tradeType;
    }

    private  String  tradeType;



    public String getCountername() {
        return countername;
    }


    public void setCountername(String countername) {
        this.countername = countername;
    }

    private String countername;

    public void setToolid(Long toolid)
    {
        this.toolid = toolid;
    }

    public Long getToolid()
    {
        return toolid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIdx(String idx)
    {
        this.idx = idx;
    }

    public String getIdx()
    {
        return idx;
    }
    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setApplyid(String applyid)
    {
        this.applyid = applyid;
    }

    public String getApplyid()
    {
        return applyid;
    }
    public void setNo(Long no)
    {
        this.no = no;
    }

    public Long getNo()
    {
        return no;
    }
    public void setApplyname(String applyname)
    {
        this.applyname = applyname;
    }

    public String getApplyname()
    {
        return applyname;
    }
    public void setIsouttm(String isouttm)
    {
        this.isouttm = isouttm;
    }

    public String getIsouttm()
    {
        return isouttm;
    }
    public void setOptime(String optime)
    {
        this.optime = optime;
    }

    public String getOptime()
    {
        return optime;
    }
    public void setOrganid(String organid)
    {
        this.organid = organid;
    }

    public String getOrganid()
    {
        return organid;
    }
    public void setCountersubid(Long countersubid)
    {
        this.countersubid = countersubid;
    }

    public Long getCountersubid()
    {
        return countersubid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("toolid", getToolid())
                .append("name", getName())
                .append("status", getStatus())
                .append("idx", getIdx())
                .append("fid", getFid())
                .append("type", getType())
                .append("applyid", getApplyid())
                .append("no", getNo())
                .append("applyname", getApplyname())
                .append("isouttm", getIsouttm())
                .append("optime", getOptime())
                .append("organid", getOrganid())
                .append("countersubid", getCountersubid())
                .append("statusScrap",getStatusScrap())
                .toString();
    }
}
